package com.spr.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 设备摄像头详情表
 */
@ApiModel(description = "设备摄像头详情表")
@Data
@TableName(value = "spr_device_camera_info")
public class SprDeviceCameraInfo {
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "")
    private Long id;

    /**
     * 所属车间ID
     */
    @TableField(value = "workshop_id")
    @ApiModelProperty(value = "所属车间ID	")
    private String workshopId;

    /**
     * 摄像头编号
     */
    @TableField(value = "camera_number")
    @ApiModelProperty(value = "摄像头编号")
    private String cameraNumber;

    /**
     * 摄像头名称
     */
    @TableField(value = "camera_name")
    @ApiModelProperty(value = "摄像头名称")
    private String cameraName;

    /**
     * 摄像头状态(正常 异常 离线)
     */
    @TableField(value = "camara_status")
    @ApiModelProperty(value = "摄像头状态(正常 异常 离线)")
    private String camaraStatus;

    /**
     * 摄像头视频地址
     */
    @TableField(value = "camera_url")
    @ApiModelProperty(value = "摄像头视频地址")
    private String cameraUrl;

    /**
     * 创建者
     */
    @TableField(value = "create_by")
    @ApiModelProperty(value = "创建者")
    private String createBy;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 更新者
     */
    @TableField(value = "update_by")
    @ApiModelProperty(value = "更新者")
    private String updateBy;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
}